<?php
ob_start();
	include 'connect/connect.php';
	check_admin();
	include 'class/class.phieuchi.php';
	$phieuchi = new phieuchi;
	$f_hovaten = $_POST['f_hovaten'];
	$f_sotien = $_POST['f_sotien'];
	$f_diengiai = $_POST['f_diengiai'];
	$f_ngay= $_POST['f_ngay'];

	$phieuchi->add_phieuchi($f_hovaten,$f_diengiai,$f_sotien,$f_ngay);
	
?>